package com.moshang.blog.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.moshang.blog.entity.TbSort;
import com.moshang.blog.core.utils.ZtreeUtil;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @program: blog
 * @description: ${description}
 * @author: xieweiwei
 * @create: 2018-11-16 09:42
 **/
@Mapper
public interface TbSortMapper extends BaseMapper<TbSort> {
    List<TbSort> selectAllSorts(Map map);

    List<ZtreeUtil> selectZtreeData(Map<String, Object> map);
}
